package com.hs.srm.admin.modules.test;

import java.util.Date;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("fastjson")
public class FastJsonController{
 
	@RequestMapping(value = "/test",produces="text/html;charset=UTF-8")
    @ResponseBody
    public Test_Table test() {
        Test_Table test_table = new Test_Table();
        test_table.setId(1);
        test_table.setUsername("汤姆");
        test_table.setBirthday(new Date());
        return test_table;
    }


}
